package cn.ylz.ylmall.account.dao.persist.mapper;

import cn.ylz.ylmall.account.pojo.entity.Role;
import cn.ylz.ylmall.account.pojo.vo.RoleListVO;
import cn.ylz.ylmall.account.pojo.vo.RoleStandardVO;
import cn.ylz.ylmall.account.pojo.vo.UserPermissionVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RoleMapper extends BaseMapper<Role> {
    RoleStandardVO getStandardById(Long id);
    List<RoleListVO> list();
}
